package com.gxa.community.admin.controller.analysis;

import com.gxa.community.admin.service.analysis.OperationMonitoringService;
import com.gxa.community.core.utils.R;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@ApiModel("运营监控分析")
@RequestMapping("/operation")
public class OperationMonitoringController {
    @Autowired
    private OperationMonitoringService operationMonitoringService;

    @ApiOperation("查询所有运营监控分析数据")
    @GetMapping("/queryoperationanalysisdata")
    public R queryOperationAnalysisData(){

        return operationMonitoringService.queryOperationAnalysisData();
    }
}
